/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package isd.general.rn;

import isd.general.dao.FormularioPorSituacionIVADAO;
import isd.general.modelo.GR_FormularioPorSituacionIVA;
import isd.general.modelo.GR_FormularioPorSituacionIVAPK;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author Claudio
 */
@Stateless
public class FormularioPorSituacionIVARN {

    @EJB private FormularioPorSituacionIVADAO formularioPorSituacionIVADAO;

    public GR_FormularioPorSituacionIVA getFormulario(String modfor, String codfor, String cndiva){

        GR_FormularioPorSituacionIVAPK idPK = new GR_FormularioPorSituacionIVAPK(modfor, codfor, cndiva);
        return formularioPorSituacionIVADAO.getFormulario(idPK);
    }

    public GR_FormularioPorSituacionIVA getFormulario(GR_FormularioPorSituacionIVAPK idPK){

        return formularioPorSituacionIVADAO.getFormulario(idPK);
    }

    
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
